// axios请求后端接口(设备品质看板)

import request from "@/utils/request";

/**
 * 故障停机率top5和故障原因数
 */

export function breakdown() {
  return request({
    url: '/md/shaftBoard/selectFaultAnalysis',
    method: 'get'
  })
}

/**
 * 设备总数和联网数
 */
export function deviceStatisticsAndLink() {
  return request({
    url: '/md/shaftBoard/selectDeviceStatistics',
    method: 'get'
  })
}

/**
 * 维修数
 */
export function repairNums() {
  return request({
    url: '/md/shaftBoard/selectMaintenanceFrequency',
    method: 'get'
  })
}


/**
 * 设备有效利用率(即开动率)
 *
 */
export function effectiveUse() {
  return request({
    url: '/md/shaftBoard/selectOperatingRatio',
    method: 'get'
  })
}
